################################################################################
#
# HSE
#
################################################################################
S32_HSE_PACKAGE_DIR = $(TOPDIR)/package/nxp/s32/s32-hse

S32_HSE_FIRMWARE_VERSION = $(call qstrip,$(BR2_PACKAGE_S32_HSE_FIRMWARE_VERSION))
S32_HSE_SOC_PLATFORM = $(call qstrip,$(BR2_PACKAGE_NXP_S32_PLATFORM))
ifneq ($(S32_HSE_SOC_PLATFORM),"s32g")
S32_HSE_SUB_SOC_PLATFORM = $(call qstrip,$(BR2_PACKAGE_NXP_S32G_PLATFORM))
S32_HSE_FIRMWARE_DIR = $(S32_HSE_PACKAGE_DIR)/firmware/$(S32_HSE_FIRMWARE_VERSION)/$(S32_HSE_SUB_SOC_PLATFORM)
else
S32_HSE_FIRMWARE_DIR = $(S32_HSE_PACKAGE_DIR)/firmware/$(S32_HSE_FIRMWARE_VERSION)/$(S32_HSE_SOC_PLATFORM)
endif
